import "./style/index.css";
import axios from "axios";
console.log("我是入口文件");
// es6类
class P {
  constructor(name) {
    this.name = name;
  }
  getName() {
    return this.name;
  }
}
console.log(new P("老王").getName());
axios.get("api/get").then(res => {
  console.log(res);
});
